﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuChaHuRen.HeNan.XiangCheng.Models
{
    public class CheckInfo
    {
        /// <summary> 
        ///厂家身份识别 ID  
        /// </summary>
        public string ProviderID { get; set; }

        /// <summary> 
        ///密码＋时间戳的 md5 加密值  
        /// </summary>
        public string ProviderKey { get; set; }

        /// <summary> 
        ///时间戳 YYYYMMDDHH24MISS  
        /// </summary>
        public string Timestamp { get; set; }

        /// <summary> 
        ///医院编号  
        /// </summary>
        public string HospitalCode { get; set; }

        /// <summary> 
        ///本次检查在第三方厂商的唯一标识  
        /// </summary>
        public string StudyPk { get; set; }

        /// <summary> 
        ///平台主索引，用于与预取的二维码关联  
        /// </summary>
        public string PlatformIndex { get; set; }

        /// <summary> 
        ///患者中文姓名  
        /// </summary>
        public string PatientName { get; set; }

        /// <summary> 
        ///患者英文名(汉语拼音)  
        /// </summary>
        public string PatientSpellName { get; set; }

        /// <summary> 
        ///患者性别（F、M、O）
        ///F：女 M：男 O：其他
        /// </summary>
        public string Sex { get; set; }

        /// <summary> 
        ///职业  
        /// </summary>
        public string PatientCareer { get; set; }

        /// <summary> 
        ///民族  
        /// </summary>
        public string PatientNation { get; set; }

        /// <summary> 
        ///患者出生日期(YYYY-MM-DD)  
        /// </summary>
        public string Birthday { get; set; }

        /// <summary> 
        ///联系电话  
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary> 
        ///地址  
        /// </summary>
        public string Address { get; set; }

        /// <summary> 
        ///年龄  
        /// </summary>
        public string Age { get; set; }

        /// <summary> 
        ///年龄单位(岁year、月month、天day)  
        /// </summary>
        public string AgeUnit { get; set; }

        /// <summary> 
        ///患者就医类型：0,门诊 1，住院 2，体检 3，急诊，9 其他  
        /// </summary>
        public string HisPatientType { get; set; }

        /// <summary> 
        ///门诊/住院号  
        /// </summary>
        public string AdmissionId { get; set; }

        /// <summary> 
        ///住院床位号  
        /// </summary>
        public string AdmissionLocation { get; set; }

        /// <summary> 
        ///检查申请医生  
        /// </summary>
        public string RequestDoctor { get; set; }

        /// <summary> 
        ///检查申请科室  
        /// </summary>
        public string RequestDepartment { get; set; }

        /// <summary> 
        ///互认标准编码  
        /// </summary>
        public string StandardItemCode { get; set; }

        /// <summary> 
        ///互认项目名称  
        /// </summary>
        public string ItemName { get; set; }

        /// <summary> 
        ///影像院内收费价 格  
        /// </summary>
        public float SaveMoney { get; set; }

        /// <summary> 
        ///检查申请医院院区  
        /// </summary>
        public string RequestZone { get; set; }

        /// <summary> 
        ///检查类型  
        /// </summary>
        public string Modality { get; set; }

        /// <summary> 
        ///检查号，检查影像文件中的
        ///accessionNumber
        /// </summary>
        public string AccessionNumber { get; set; }

        /// <summary> 
        ///检查影像文件中的patientId  
        /// </summary>
        public string PatientId { get; set; }

        /// <summary> 
        ///检查影像文件中的studyInstanceUid   
        /// </summary>
        public string StudyInstanceUid { get; set; }

        /// <summary> 
        ///检查影像文件中的studyInstanceUid，允许以数组的形式传多个。  
        /// </summary>
        public string MultiStudyInstanceUid { get; set; }

        /// <summary> 
        ///检查时间(YYYYMMDDHH24MISS)  
        /// </summary>
        public string StudyTime { get; set; }

        /// <summary> 
        ///病历号  
        /// </summary>
        public string MediId { get; set; }

        /// <summary> 
        ///HIS 申请单号  
        /// </summary>
        public string HisRequestId { get; set; }

        /// <summary> 
        ///患者证件类型：
        ///居民身份证   00  
        /// </summary>
        public string IdCardType { get; set; }

        /// <summary> 
        ///患者证件号码  
        /// </summary>
        public string IdCardNo { get; set; }

        /// <summary> 
        ///临床诊断  
        /// </summary>
        public string CinicalDiagnosis { get; set; }

        /// <summary> 
        ///患者病史  
        /// </summary>
        public string PatientHistory { get; set; }

        /// <summary> 
        ///健康卡号  
        /// </summary>
        public string HealthCardNo { get; set; }

        /// <summary> 
        ///检查部位和检查方法的对应关系列表。  
        /// </summary>
        public List<CheckPosition> AppendPositions { get; set; }

        /// <summary> 
        ///申请医生电话  
        /// </summary>
        public string ApplicantPhone { get; set; }

        /// <summary> 
        ///检查注意事项（1=是，0=否）  
        /// </summary>
        public string ExamAttention { get; set; }

        /// <summary> 
        ///设备序列号  
        /// </summary>
        public string DeviceCode { get; set; }

        /// <summary> 
        ///病人隐私标志（1=是，0=否）  
        /// </summary>
        public string Privacy { get; set; }

        /// <summary> 
        ///过敏史  
        /// </summary>
        public string Complain { get; set; }

        /// <summary> 
        ///医保卡号  
        /// </summary>
        public string InsuranceCardNo { get; set; }

        /// <summary> 
        ///图象数  
        /// </summary>
        public string ImageCount { get; set; }

        /// <summary> 
        ///患者身高（cm），可带小数点  
        /// </summary>
        public string Height { get; set; }

        /// <summary> 
        ///患者体重（kg），可带小数点  
        /// </summary>
        public string Weight { get; set; }

        /// <summary> 
        ///返回值中是否需要二维码图片：1需要，0或不传不需要   
        /// </summary>
        public string NeedQrCode { get; set; }



        //public string ReportStatus { get; set; }

        //public string ReportDoctor { get; set; }

    }

    public class CheckPosition
    {
        public string studyPosition { get; set; }

        public string checkItem { get; set; }

    }
}
